TextPipe: Online Help
    Restrict to tag/attribute
 

Submit feedback on this topic 

 Home  User Assistance   Tutorials   How to Use TextPipe
 Menus: File   Edit   Filters[ Convert   Add   Remove   Unicode   Replace   Special   Map   Email   Restrict ]  Tools   Window   Help   Advanced
Home
Up

 

 

This filter restricts sub filters to operate on just the text within the given tag. Normally this filter has a Restrict to attribute sub filter. If your tag is not in the list, just type it in.

Note:

  • This filter copes with single and double quotes, and escaped quotes within them
  • This filter copes with angle brackets within single and double quotes
  • <!-- --> comment tags are handled specially. Comment tags can have ANY text inside them - quotes are not matched
  • <!DOCTYPE > tags are handled specially to allow for included DTDs enclosed in []
  • <!CDATA[ ... ]]> tags are handled specially to allow for any text within the square brackets.

Include the entire tag

When checked, the entire tag is passed to the sub filter, not just the text after the tag name. Normally this is not required as the existing tag is being edited. If you want to remove the entire tag, then check this field, and add a Remove All sub filter.

Match case

When checked, the tag name must match the case of the name exactly. Normally this is checked for XML, which is case-sensitive, and unchecked for HTML, which is not case-sensitive.

Restrict to attribute

This filter restricts sub filters to operate on just the text within the given tag. Normally this filter is inside a Restrict to tag filter e.g. 'Restrict to tag <table...>', sub filter of 'Restrict to attribute height="..."', sub filter of search and replace. If your attribute is not in the list, just type it in.

Include the quotes

When checked, the surrounding single or double quotes (if any) are also sent to the sub filter. Normally they are not required as the existing value is being edited. If you want to remove the entire attribute, then check this field and the next field, and add a Remove All sub filter.

Include the attribute name

When checked, the actual attribute name and the equals sign are also sent to the sub filter. Normally they are not required as the existing value is being edited. If you want to remove the entire attribute, then check this field and the previous field, and add a Remove All sub filter.

Restrict to between tags

This filter restricts sub filters to operate on just the text between the given tag pairs (which need not match). If your tag is not in the list, just type it in.

Include the start and end tag

When checked, the actual start and end tags are also sent to the sub filter. Normally they are not required as the existing value is being edited. If you want to remove the start and end tag and all text between them, then check this field, and add a Remove All sub filter.

See also

Remove duplicate lines
Count duplicates
Randomize lines
Restriction filters

 Contact Us   Support   Community   Tutorials and User Guides (online)
 © 1999-2005 Crystal Software. All rights reserved.